package org.goldenport.g3.adapters;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

/**
 * @since   Apr. 11, 2011
 * @version Apr. 11, 2011
 * @author  ASAMI, Tomoharu
 */
@Path("/hello")
public class JaxRsAdapterSpecTestJavaXmlBean {
    @GET
    @Produces("application/xml")
    public JaxRsAdapterSpecTestJavaXmlBeanPerson greeting() {
        JaxRsAdapterSpecTestJavaXmlBeanPerson person = new JaxRsAdapterSpecTestJavaXmlBeanPerson();
        person.setName("Java Taro");
        return person;
    }
}
